<template>
  <div class="weekend">
    <div v-for="item of weekendList" :key="item.id">
      <img :src="item.imgUrl" alt>
      <div class="info">
        <h4>{{item.title}}</h4>
        <p>{{item.content}}</p>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: "Weekend",
  props: {
    weekendList: {
      type: Array
    }
  }
};
</script>
<style lang="scss" scoped>
img{
    width: 100%;
}
.info{
    padding: 10px;
    line-height: 25px;
    p{
        color: gray;
        font-size: 14px;
    }

}
</style>
